<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .test {
            color: teal;
        }

        /* p继承的权重为零 */
        p {
            color: red;
        }

        body {
            color: violet;
        }

        /* a链接浏览器默认制定一个样式 蓝色的 有下划线 a{color：blue} */
        a {
            color: green;
        }
    </style>
</head>

<body>
    <div class="test">

        <p>appreciate v.感激，欣赏</p>
    </div>
    <a href="#">appearance n.外表</a>
</body>

</html>